import req from './http.js'
// 出版单位列表
export const QUERY_SUPPLIER_LISTS = query => req('post', '/query/supplier/lists', query);
// 出版单位信息
export const QUERY_SUPPLIER_INFO = query => req('post', '/query/supplier/info', query);
// 出版单位品种排行
export const QUERY_SUPPLIER_GOODSRANK = query => req('post', '/query/supplier/goodsrank', query);
// 出版单位类目排行
export const QUERY_SUPPLIER_CATERANK = query => req('post', '/query/supplier/caterank', query);
// 出版单位读者画像
export const QUERY_SUPPLIER_READER = query => req('post', '/query/supplier/reader', query);
// 出版单位核心数据
export const QUERY_SUPPLIER_KERNELDATA = query => req('post', '/query/supplier/kerneldata', query);
// 出版单位核心数据图形
export const QUERY_SUPPLIER_KERNELCHART = query => req('post', '/query/supplier/kernelchart', query);
// 全品种销售排行
export const QUERY_GOODS_SALE = query => req('post', '/query/goods/sale', query);
// 全品种涨幅排行
export const QUERY_GOODS_INCR = query => req('post', '/query/goods/incr', query);
// 全品种销量排行
export const QUERY_GOODS_SALENUM = query => req('post', '/query/goods/salenum', query);
// 新品排行
export const QUERY_GOODS_GOODSNEW = query => req('post', '/query/goods/goodsnew', query);
// 页面访问数据
export const VISITDATA_PAGE = query => req('post', '/visitdata/page', query);
// 用户访问数据
export const VISITDATA_USER = query => req('post', '/visitdata/user', query);
// 用户访问统计
export const VISITDATA_USERDAYSTAT = query => req('post', '/visitdata/userdaystat', query);

// 商品查询
export const QUERY_GOODS_SEARCH = query => req('post', '/query/goods/search', query);
// 商品查询--数据导出
export const QUERY_GOODS_SEARCH_EXPORT = query => req('post', '/query/goods/search/export', query);
// 商品查询--标签
export const QUERY_GOODS_SEARCH_TAG = query => req('post', '/query/goods/search/tag', query);
// 商品查询--作者
export const INDUSTRY_AUTHOR_LISTS = query => req('post', '/industry/author/lists', query);
// 库存分析基础信息
export const QUERY_STOCK_INFO = query => req('post', '/query/stock/info', query);
// 库存分析商品列表
export const QUERY_STOCK_GOODSLISTS = query => req('post', '/query/stock/goodslists', query);
// 库存分析商品列表导出
export const QUERY_STOCK_EXPORT = query => req('post', '/query/stock/export', query);

// 实时数据
export const QUERY_REALTIME_INFO = query => req('post', '/query/realtime/info', query);
// 实时数据品种
export const QUERY_REALTIME_GOODS = query => req('post', '/query/realtime/goods', query);

// 销售结构分析基础数据
export const QUERY_SALES_INFO = query => req('post', '/query/sales/info', query);
// 销售结构分析图表数据
export const QUERY_SALES_CHARTDATA = query => req('post', '/query/sales/chartdata', query);
// 销售结构分析--销售层级
export const QUERY_SALES_SALEVELCHART = query => req('post', '/query/sales/salelevelchart', query);
// 销售结构分析--书龄分级
export const QUERY_SALES_SALEAGECHART = query => req('post', '/query/sales/saleagechart', query);
// 销售结构分析--定价区间
export const QUERY_SALES_SALEPRICECHART = query => req('post', '/query/sales/salepricechart', query);
// 销售结构分析--实销折扣分析
export const QUERY_SALES_SALEDISCOUNTCHART = query => req('post', '/query/sales/salediscountchart', query);

// 异常监控
export const QUERY_MONITOR_ABNORMALGOODS = query => req('post', '/query/monitor/abnormalgoods', query);
// 异常监控--信息缺失
export const QUERY_MONITOR_INCOMPLETEGOODS = query => req('post', '/query/monitor/incompletegoods', query);
// 异常监控--数据导出
export const QUERY_MONITOR_ABNORMALGOODSEXPORT = query => req('post', '/query/monitor/abnormalgoodsexport', query);

// 订单查询
export const QUERY_ORDER_LISTS = query => req('post', '/query/order/lists', query);

// 标签管理-标签列表
export const TAG_LISTS = query => req('post', '/tag/lists', query);
// 标签管理-标签编辑
export const TAG_EDIT = query => req('post', '/tag/edit', query);

// 用户检索-定位分析
export const QUERY_LOCATION_NEAR = query => req('post', '/query/location/near', query);
// 用户检索-查询标签列表
export const READER_TAG_LISTS = query => req('post', '/reader/tag/lists', query);
// 用户检索-查询
export const READER_SEARCH = query => req('post', '/reader/search', query);
// 用户检索-单人用户查询
export const READER_DETAIL = query => req('post', '/reader/detail', query);